<div data-dux="table-bind">
    <div class="dux-page-header uk-clearfix">
        <div class="page-title">
            <form class="dux-form uk-form  uk-form-inline" method="get" action="{url()}">
                <div class="uk-form-group">
                    <input type="text" name="username" class="uk-form-field" value="{$pageMaps.username}" placeholder="搜索">
                </div>
                <div class="uk-form-group">
                    <select name="status" class="uk-form-field">
                        <option value="0">全部状态</option>
                        <option value="1" {$pageMaps.status == 1 ? 'selected' : ''} >申请中</option>
                        <option value="2" {$pageMaps.status == 2 ? 'selected' : ''} >已通过</option>
                        <option value="3" {$pageMaps.status == 3 ? 'selected' : ''} >未通过</option>
                    </select>
                </div>
                <div class="uk-form-group">
                    <button type="submit" class="uk-button uk-button-primary"><i class="fa fa-search"></i></button>
                </div>
            </form>
        </div>
        <div class="page-action">
            <a class="uk-button uk-button-danger" href="javascript:location.reload();"><i class="fa fa-refresh"></i></a>
        </div>
    </div>
    <div class="dux-page-table">
        <table class="uk-table  uk-table-responsive  uk-table-striped uk-table-hover uk-table-middle dux-table" data-table>
            <thead>
            <tr>
                <th>用户</th>
                <th>姓名</th>
                <th>身份证</th>
                <th>身份证正面</th>
                <th>身份证反面</th>
                <th>手持身份证</th>
                <th>申请时间</th>
                <th>审核备注</th>
                <th class="uk-text-center">审核状态</th>
                <th class="uk-text-center" width="140">审核</th>
            </tr>
            </thead>
            <tbody>
            <!--loop{$list as $vo}-->
            <tr>
                <td><a data-dux="dialog-open" data-url="{url('member/MemberUser/dialogUser', ['id' => $vo.user_id])}" data-title="用户信息" data-height="250px" href="javascript:;">{$vo.show_name}</a></td>
                <td>{$vo.name}</td>
                <td>{$vo.idcard}</td>
                <td><a href="{$vo.card_image}" target="_blank"><img src="{$vo.card_image}" class="uk-image-thumbnail" width="80" height="80"></a></td>
                <td><a href="{$vo.card_image_back}" target="_blank"><img src="{$vo.card_image_back}" class="uk-image-thumbnail" width="80" height="80"></a></td>
                <td><a href="{$vo.card_image_hand}" target="_blank"><img src="{$vo.card_image_hand}" class="uk-image-thumbnail" width="80" height="80"></a></td>
                <td>
                    {date('Y-m-d H:i:s', $vo.time)}
                </td>
                <td>{$vo.remark ? $vo.remark : '无'}</td>
                <!--if{!$vo.status}-->
                <td class="uk-text-center uk-text-danger">
                    失败
                </td>
                <!--{/if}-->

                <!--if{$vo.status == 1}-->
                <td class="uk-text-center uk-text-warning">
                    审核中
                </td>
                <!--{/if}-->

                <!--if{$vo.status == 2}-->
                <td class="uk-text-center uk-text-success">
                    审核成功
                </td>
                <!--{/if}-->
                <td class="uk-text-center">

                    <!--if{$vo.status <> 2}-->
                    <button type="button" {$vo.status == 2 ? 'disabled' : ''}  class="uk-button uk-button-primary uk-button-small" href="javascript:;" data-dux="dialog-open" data-url="{url('check', ['id' => $vo.real_id])}"  title="审核用户" data-height="320px"><i class=" fa fa-legal"></i></button>
                    <!--{else}-->
                    <a class="uk-button uk-button-primary uk-button-small" href="{url('edit', ['id' => $vo.real_id])}"><i class=" fa fa-edit"></i></a>
                    <!--{/if}-->
                    <a class="uk-button uk-button-danger uk-button-small" href="javascript:;" data-url="{url('del')}" data-id="{$vo[$pri]}" title="删除" data-del><i class=" fa fa-trash"></i></a>
                </td>
            </tr>
            <!--{/loop}-->
            <!--if{empty($list)}-->
            <tr>
                <td colspan="8" class="uk-text-center">暂无实名申请</td>
            </tr>
            <!--{/if}-->
            </tbody>
        </table>
    </div>
    <div class="dux-page-foot uk-clearfix">
        {$page}
    </div>
</div>